package com.dzbh.cdsdriver;

import android.app.Application;
import android.app.ProgressDialog;
import android.content.Context;

import com.dzbh.cdsdriver.utils.HRetrofitNetHelper;

public class DriverApplication extends Application {

    private Context mContext = null;
    public ProgressDialog mDialog;
    public HRetrofitNetHelper retrofitNetHelper;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        mDialog = new ProgressDialog(mContext);

        retrofitNetHelper = HRetrofitNetHelper.getInstance(mContext);

    }

    public ProgressDialog getmDialog() {
        return mDialog;
    }

    public HRetrofitNetHelper getRetrofitNetHelper() {
        return retrofitNetHelper;
    }

    public Context getmContext() {
        return mContext;

    }

}
